package edu.njust.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Room {
    @JsonProperty("id")
    private int id;
    @JsonProperty("guestRoomLevelID")
    private int guestRoomLevelID;
    @JsonProperty("roomStateID")
    private int roomStateID;
    @JsonProperty("roomNumber")
    private String roomNumber;
    @JsonProperty("roomAmount")
    private String roomAmount;
    @JsonProperty("standardPriceDay")
    private double standardPriceDay;
//拓展字段
@JsonProperty("guestRoomLevelName")
    private String guestRoomLevelName;

    @JsonProperty("roomState")
    private String roomState;

    public Room() {
    }

    public Room(int id, int guestRoomLevelID, int roomStateID, String roomNumber, String roomAmount, double standardPriceDay, String guestRoomLevelName, String roomState) {
        this.id = id;
        this.guestRoomLevelID = guestRoomLevelID;
        this.roomStateID = roomStateID;
        this.roomNumber = roomNumber;
        this.roomAmount = roomAmount;
        this.standardPriceDay = standardPriceDay;
        this.guestRoomLevelName = guestRoomLevelName;
        this.roomState = roomState;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGuestRoomLevelID() {
        return guestRoomLevelID;
    }

    public void setGuestRoomLevelID(int guestRoomLevelID) {
        this.guestRoomLevelID = guestRoomLevelID;
    }

    public int getRoomStateID() {
        return roomStateID;
    }

    public void setRoomStateID(int roomStateID) {
        this.roomStateID = roomStateID;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getRoomAmount() {
        return roomAmount;
    }

    public void setRoomAmount(String roomAmount) {
        this.roomAmount = roomAmount;
    }

    public double getStandardPriceDay() {
        return standardPriceDay;
    }

    public void setStandardPriceDay(double standardPriceDay) {
        this.standardPriceDay = standardPriceDay;
    }

    public String getGuestRoomLevelName() {
        return guestRoomLevelName;
    }

    public void setGuestRoomLevelName(String guestRoomLevelName) {
        this.guestRoomLevelName = guestRoomLevelName;
    }

    public String getRoomState() {
        return roomState;
    }

    public void setRoomState(String roomState) {
        this.roomState = roomState;
    }

    @Override
    public String toString() {
        return "Room{" +
                "id=" + id +
                ", guestRoomLevelID=" + guestRoomLevelID +
                ", roomStateID=" + roomStateID +
                ", roomNumber='" + roomNumber + '\'' +
                ", roomAmount='" + roomAmount + '\'' +
                ", standardPriceDay=" + standardPriceDay +
                ", guestRoomLevelName='" + guestRoomLevelName + '\'' +
                ", roomState='" + roomState + '\'' +
                '}';
    }
}
